<template>
    <div>
        <div class="baiduStar">
            <div class="baiduStar-son">
                <div class="baiduStar-title">
                    我的小度星
                </div>
            </div>

            <div class="baiduStar-neirong">
                <p>我的小度星</p>
                <img src="https://dumall.baidu.com/img/xiaodustar@2x.0428d86e58b113df6bfac7ccc926ccf0.png" width="180px" alt="">
                <p>{{xiaoduxing}}</p>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                xiaoduxing:0
            }
        },
        created(){
            if(localStorage.xiaoduxing){
                this.xiaoduxing=JSON.parse(window.localStorage.getItem("xiaoduxing"))
            }
        }
    }
</script>

<style lang="scss" scoped>
@import "../assets/css/public.scss";
@import "../assets/css/baiduStar.scss";
</style>